package com.itheima.reggie.common;

public class BaseContext {


    private BaseContext() {
    }

    private static final ThreadLocal<Long> threadLocal = new ThreadLocal<>();


    public static void set(Long empId) {
        threadLocal.set(empId);
    }

    public static Long get() {
        return threadLocal.get();
    }
}
